#pragma once

#include<stdio.h>
#include<time.h>
#include<stdlib.h>

#define ROW 9
#define COL 9

#define ROWS 11
#define COLS 11

#define MINE 10

void clean_();

void Menu();

int n_js(char mine[ROWS][COLS], int x, int y, int n);

void print_board(char board[ROWS][COLS],int row,int col);

void init_(char board[ROWS][COLS], int row, int col, char c);

void set_mine(char board[ROWS][COLS], int row, int col);

int find_mine(char board[ROWS][COLS], int row ,int col,char mine[ROWS][COLS]);

void fond_mine_again(char board[ROWS][COLS], int row, int col, char mine[ROWS][COLS], int x, int y);

void fond_mine_rob(char board[ROWS][COLS], int row, int col, char mine[ROWS][COLS], int x, int y);

int win_game(char board[ROWS][COLS], int row, int col, int a, char mine[ROWS][COLS]);

void sign_p(char board[ROWS][COLS], int row, int col);

void cancel_sign(char board[ROWS][COLS], int row, int col);

void set_in_board(char board[ROWS][COLS], int row, int col, char mine[ROWS][COLS]);
